package xian.woniu.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import xian.woniu.entity.User;
import xian.woniu.util.ResultVO;

@FeignClient("sun-auth")
public interface IUserService {
    @PostMapping("user/findByFlag")
    ResultVO findByFlag(@RequestBody Integer flag);

    @PostMapping("user/updateFlag")
    ResultVO updateFlag(@RequestBody User user);
}
